Platform Explorer / Nuxeo Platform 2023.12

Operation Seam.SaveDocumentInUI (Save Document in UI)

Description

Saves a document in UI, as if user was hitting the 'Save' button on a the document edition form. It assumes that the contextual 'currentDocument' document from the Seam context has been updated to hold the new properties. It will navigate to the edited document context, set its view as outcome, and return it.
Operation id Seam.SaveDocumentInUI
Category User Interface
Label Save Document in UI
Requires Seam
Since

Parameters

No parameters.

Signature

Inputs void
Outputs document

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.jsf.operations.SaveDocumentInUI
Contributing Component org.nuxeo.ecm.automation.jsf.contrib

JSON Definition

{
  "id" : "Seam.SaveDocumentInUI",
  "label" : "Save Document in UI",
  "category" : "User Interface",
  "requires" : "Seam",
  "description" : "Saves a document in UI, as if user was hitting the 'Save' button on a the document edition form. It assumes that the contextual 'currentDocument' document from the Seam context has been updated to hold the new properties. It will navigate to the edited document context, set its view as outcome, and return it.",
  "url" : "Seam.SaveDocumentInUI",
  "signature" : [ "void", "document" ],
  "params" : [ ]
}